html,body {
	margin: 0;
	font-family: Lucida-Grande, Calibri, Arial, Verdana, Sans-Serif;
	font-size: 13px;
	color: #787878;
	background-image: url(images/background-square.jpg);
	background-repeat: repeat;
}

a:focus {
	-moz-outline: none;
}

img {
	border: 0;
}

a {
	text-decoration: none;
	color: #5a7393;
	outline: none;
}

a:hover {
	text-decoration: underline;
}

.clear {
	clear: both;
}

#background {
	background-image: url(images/background-horizontal.jpg);
	background-repeat: repeat-x;
	height: 550px;
	width: auto;
}

#main {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}

#logo-wrapper {
	width: 800px;
	height: 128px;
}

#logo {
	float: left;
	width: 300px;
	height: 128px;
}

.titlebar {
	height: 32px;
	background-image: url(images/titlebar-background.jpg);
	background-repeat: repeat-x;
	border-top-left-radius: 7px 7px;
	border-top-right-radius: 7px 7px;
	border-bottom-right-radius: 0px 0px;
	border-bottom-left-radius: 0px 0px;
}

.titlebar h1 {
	padding: 0px;
	margin: 0px 0px 0px 10px;
	font-weight: normal;
	font-size: 16px;
	line-height: 32px;
}

#admin-login-wrapper {
	margin-left: 276px;
	margin-right: 276px;
	padding: 5px 0px 20px 0px;
}

/** Left side styles **/

#left-wrapper {
	position: relative;
	top: -26px;
	float: left;
	width: 550px;
}

.content {
	width: 540px;
	margin-right: 8px;
	margin-top: 18px;
	background-color: #fff;
	border: solid 1px #afafaf;
	border-radius: 7px;
	box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px;
}

/** Error styles **/

#error {
	width: 510px;
	margin: 20px;
	height: auto;
	display: inline-block;
}

#error-image {
	width: 40px;
	height: 40px;
	margin-right: 10px;
	background-image: url(images/error.jpg);
	float: left;
}

#error-info {
	line-height: 20px;
	margin: 10px;
	width: 410px;
	float: left;
}

/** Item list styles **/

.item {
	font-size: 14px;
	width: 540px;
	height: 70px;
	border-bottom: solid 1px #d2d2d2;
}

.item-image {
	float: left;
	height: 60px;
	width: 60px;
	margin: 5px 5px 5px 10px;
}

.item-title {
	float: left;
	height: 60px;
	width: 180px;
	margin: 5px;
	line-height: 60px;
}

.item-stock {
	float: left;
	height: 60px;
	width: 75px;
	margin: 5px;
	line-height: 60px;
}

.item-price {
	float: left;
	height: 60px;
	width: 75px;
	margin: 5px;
	line-height: 60px;
}

.item-info {
	float: left;
	height: 60px;
	width: 80px;
	margin: 5px 10px 5px 5px;
}

.item-info-button {
	margin: 18px 10px 17px 0px;
	text-align: center;
	width: 80px;
	height: 23px;
	background-color: #275590;
	border: none;
	color: white;
	border-radius: 4px;
	font-size: 13px;
	line-height: 23px;
	outline: none;
}

.item-info-button a {
	color: white;
	text-decoration: none;
}

/** Item list styles **/

.statistic-wrapper {
	width: 540px;
	font-size: 12px;
	margin: 20px 0px 20px 0px;
}

.statistic {
	border-bottom: dashed 1px #d2d2d2;
	width: 500px;
	line-height: 30px;
	margin: 0px 20px 0px 20px;
	height: 20px;
	line-height: 20px;
}

/** Specific item styles **/

.specific-item {
	width: 540px;
	height: auto;
	display: inline-block;
}

.specific-item-image {
	float: left;
	width: 150px;
	margin: 20px 0px 20px 20px;
}

.specific-item-description {
	float: left;
	width: 330px;
	height: auto;
	margin: 20px;
	line-height: 18px;
}

.specific-item-wrapper {
	margin: 10px 10px 10px 0px;
	width: 340px;
	height: 40px;
	float: right;
	line-height: 40px;
	display: inline-block;
}

.specific-item-stock {
	font-size: 16px;
	float: left;
	height: 40px;
	width: 120px;
	line-height: 40px;
}

.specific-item-price {
	font-size: 16px;
	float: left;
	height: 40px;
	width: 120px;
	line-height: 40px;
}

.specific-item-add {
	float: left;
	height: 40px;
	width: 90px;
}

.specific-item-info-button {
	margin: 8px 10px 7px 0px;
	text-align: center;
	width: 90px;
	height: 23px;
	background-color: #299a00;
	border: none;
	color: white;
	border-radius: 4px;
	font-size: 13px;
	line-height: 23px;
	outline: none;
}

.specific-item-info-button a {
	color: white;
	text-decoration: none;
}

/** edit item form styles **/

#edit-item {
	text-align: right;
	padding: 0px;
	margin: 10px;
	width: 513px;
}

#edit-item p {
	text-align: left;
	padding: 0px;
	margin: 5px 0px 0px 0px;
}

#edit-item fieldset {
	border: none;
}

#edit-item input, textarea {
	margin: 3px 0px 3px 0px;
	border: solid 1px #d2d2d2;
	border-radius: 4px;
	font-size: 13px;
	line-height: 13px;
	padding: 3px;
	outline: none;
	background-color: #f2f2f2;
	color: #787878;
	width: 1px; /** has a strange effect **/
	min-width: 100%;
}

#edit-item textarea {
	line-height: 16px;
	margin: 3px 0px 0px 0px;
}

#edit-item input:focus, textarea:focus {
	border: solid 1px #787878;
	color: black;
}

#edit-item input.submit-button {
	min-width: 0px;
	width: 120px;
	height: 23px;
	cursor: pointer;
	background-color: #787878;
	border: none;
	color: white;
	font-size: 11px;
	line-height: 11px;
	margin-top: 7px;
	margin-right: -8px;
}

/** Right side styles **/

#right-wrapper {
	float: left;
	width: 250px;
	position: relative;
	top: -26px;
}

.sidebar {
	width: 240px;
	margin-left: 8px;
	margin-top: 18px;
	background-color: #fff;
	border: solid 1px #afafaf;
	border-radius: 7px;
	box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px;
}

/** customer panel styles **/

#customer-info-wrapper {
	margin: 10px;
	height: 20px;
	width: 220px;
	border-bottom: solid 1px #d2d2d2;
}

#customer-info-name {
	float: left;
}

#customer-info-logout {
	float: right;
}

#customer-history {
	font-size: 11px;
	margin: 0px 0px 15px 0px;
}

.customer-history-item {
	margin: 0px 10px 0px 10px;
	width: 220px;
	height: 18px;
	line-height: 20px;
	border-bottom: dashed 1px #d2d2d2;
}

.customer-history-item-title {
	float: left;
	height: 18px;
	width: 140px;
	margin-left: 5px;
}

.customer-history-item-date {
	text-align: right;
	float: left;
	height: 18px;
	width: 70px;
	margin-right: 5px;
}

/** admin panel styles **/

#admin-info-wrapper {
	margin: 10px;
	height: 20px;
	width: 220px;
	border-bottom: solid 1px #d2d2d2;
}

#admin-info-name {
	float: left;
}

#admin-info-logout {
	float: right;
}

#admin-menu p {
	margin: 0px 0px 0px 3px;
}

#admin-menu a {
	height: 20px;
	line-height: 25px;
	float: none;
	margin: 0px 10px 0px 10px;
	width: 220px;
	height: 20px;
	line-height: 20px;
}

/** shopping cart styles **/

.shopping-cart-item {
	width: 240px;
	height: 40px;
	border-bottom: solid 1px #d2d2d2;
}

.shopping-cart-image {
	float: left;
	width: 34px;
	height: 34px;
	margin: 3px 3px 3px 6px;
}

.shopping-cart-title {
	float: left;
	width: 150px;
	height: 34px;
	margin: 3px;
	line-height: 34px;
}

.shopping-cart-remove {
	float: left;
	margin: 5px 3px 5px 3px;
	height: 30px;
	width: 30px;
}

#checkout {
	width: 240px;
	height: 40px;
	margin: 10px 5px 0px 5px;
}

#checkout-total {
	float: left;
	width: 136px;
	height: 50px;
	font-size: 14px;
	line-height: 30px;
	margin-left: 10px;
}

#checkout-button-wrapper {
	float: left;
	width: 84px;
	height: 30px;
}

#checkout-button {
	margin: 3px 15px 2px 5px;
	text-align: center;
	width: 74px;
	height: 23px;
	background-color: #299a00;
	border: none;
	color: white;
	border-radius: 4px;
	font-size: 13px;
	line-height: 23px;
	outline: none;
}

#checkout-button a {
	color: white;
	text-decoration: none;
}

/** partner shops styles **/

.partner-shop {
	width: 240px;
	height: 25px;
	border-bottom: solid 1px #d2d2d2;
}

.partner-shop-title {
	height: 25px;
	width: 220px;
	line-height: 25px;
	margin: 0px 10px 0px 10px;
}

/** customer submit form styles **/

.submit-customer {
	text-align: right;
	padding: 0px;
	margin: 5px;
	width: 223px;
}

.submit-customer fieldset {
	border: none;
}

.submit-customer input {
	margin: 3px 0px 3px 0px;
	border: solid 1px #d2d2d2;
	border-radius: 4px;
	font-size: 13px;
	line-height: 13px;
	padding: 3px;
	outline: none;
	background-color: #f2f2f2;
	color: #787878;
	width: 1px; /** has a strange effect **/
	min-width: 100%;
}

.submit-customer input:focus {
	border: solid 1px #787878;
	color: black;
}

.submit-customer input.submit-button {
	min-width: 0px;
	width: 80px;
	height: 23px;
	cursor: pointer;
	background-color: #787878;
	border: none;
	color: white;
	font-size: 11px;
	line-height: 11px;
	margin-top: 2px;
	margin-right: -8px;
}